﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LosConn.BLL;
using System.Data;

namespace LosConn.Web.PayMoney
{
    public partial class PayMoneyRetailList : BasePage.AdminBasePage
    {
        public String html = String.Empty;
        public String footer = String.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                Los_Pay bll = new Los_Pay();
                String Retail_ID = Session["Retail_ID"].ToString();
                String payList = bll.GetPayRetailList(ref footer, Request.QueryString, Retail_ID);
                html = payList;

                //BLL.Los_Retail bllRetail = new BLL.Los_Retail();
                //DataTable dt = bllRetail.GetList(" Retail_Status=100 ").Tables[0];
                //Pay_PayRetailID.DataSource = dt;
                //Pay_PayRetailID.DataValueField = "Retail_ID";
                //Pay_PayRetailID.DataTextField = "Retail_Name";
                //Pay_PayRetailID.DataBind();
                //Pay_PayRetailID.Items.Insert(0, new ListItem("-请选择-", "0"));
            }
        }
    }
}